package com.moxi.mogublog.redis.web.prefix;


import com.moxi.mogublog.redis.prefix.base.BasePrefix;

/**
 * 模板模式:实现类-UserKey
 *
 * @author Lishuai
 * @version 1.0.0
 * @date 2020-04-21
 */
public class UserKey extends BasePrefix {

    private UserKey(String prefix) {
        super(prefix);
    }

    public UserKey(String prefix, int expireSeconds) {
        super(prefix, expireSeconds);
    }

    public static UserKey getById = new UserKey("id");

    public static UserKey getByName = new UserKey("name");

}
